import request from '@/utils/request'

// 查询用户购买月卡日志列表
export function listUserLogCard(query) {
  return request({
    url: '/system/userLogCard/list',
    method: 'get',
    params: query
  })
}

// 查询用户购买月卡日志详细
export function getUserLogCard(id) {
  return request({
    url: '/system/userLogCard/' + id,
    method: 'get'
  })
}

// 新增用户购买月卡日志
export function addUserLogCard(data) {
  return request({
    url: '/system/userLogCard',
    method: 'post',
    data: data
  })
}

// 修改用户购买月卡日志
export function updateUserLogCard(data) {
  return request({
    url: '/system/userLogCard',
    method: 'put',
    data: data
  })
}

// 删除用户购买月卡日志
export function delUserLogCard(id) {
  return request({
    url: '/system/userLogCard/' + id,
    method: 'delete'
  })
}

// 导出用户购买月卡日志
export function exportUserLogCard(query) {
  return request({
    url: '/system/userLogCard/export',
    method: 'get',
    params: query
  })
}